package com.bp.village.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shaominjie
 * @description 办公用房分类
 * @date 2021/1/29 0029 16:26
 */
public enum EnumsOfficeBuildingType {

    /** 行政办公 **/
    OFFICE(0,"行政办公"),
    /** 附属用房 **/
    ATTACHED(1,"附属用房"),
    /** 业务用房 **/
    BUSINESS(2,"业务用房");
    public final static Map<Integer, String> MAP = new HashMap<Integer, String>() {
        {
            put(0,"行政办公");
            put(1,"附属用房");
            put(2,"业务用房");
        }
    };

    private Integer type;

    private String name;

    EnumsOfficeBuildingType(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
